﻿using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MVCScaffold.Extensions
{
    public class MvcScaffoldTextTemplateHostException : Exception
    {
        public MvcScaffoldTextTemplateHostException(string mensagem, CompilerErrorCollection errors)
            : base(mensagem)
        {
            Errors = errors;
        }

        public CompilerErrorCollection Errors { get; private set; }
    }
}
